package com.shirojwt.controller;

import com.shirojwt.com.lang.JwtResultMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author chenguo
 * @date 2021/10/12 3:51 下午
 */
@RestController
@RequestMapping("/guest")
public class GuestController {
    @Resource
    private JwtResultMap jwtResultMap;

    @GetMapping("/enter")
    public JwtResultMap enter(){
        return jwtResultMap.success().code(200).message("欢迎进入游客界面");
    }
}
